package com.suns.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.suns.domain.Application;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ApplicationDao extends BaseMapper<Application> {
    @Select("select * from application ${ew.customSqlSegment}")
    List<Application> selectAps(@Param(Constants.WRAPPER) Wrapper<Application> queryWrapper);

}
